/*package com.mycinema.dao.impl;
import java.io.InputStream;

import org.apache.ibatis.io.Resources;
import org.*;
//工具类
import org.apache.ibatis.session.*;
public class MyBatisUtil {
    private static SqlSessionFactory  sessionFactory;
    static{
    	InputStream inputStream;
    	try{
    		
    		 inputStream = Resources.getResourceAsStream("mybatis-config.xml");
    		 sessionFactory=new SqlSessionFactoryBuilder().build(inputStream);
    			
    	}catch(java.io.IOException e){
    		e.printStackTrace();
    	}
    	
    }
    public static SqlSession openSession(){
    	return sessionFactory.openSession();
    }
}*/
